package br.rc.unesp.tcc.model.bean;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "invoices")
public class InvoiceListDto {

	private List<InvoiceDto> simpleInvoices = new ArrayList<InvoiceDto>();

	public InvoiceListDto() {
	}

	public InvoiceListDto(List<InvoiceDto> simpleInvoices) {
		this.simpleInvoices = simpleInvoices;
	}

	@XmlElement(name = "invoice")
	public List<InvoiceDto> getSimpleInvoices() {
		return simpleInvoices;
	}

	public void setSimpleInvoices(List<InvoiceDto> simpleInvoices) {
		this.simpleInvoices = simpleInvoices;
	}
}